package com.a918.service;

import com.a918.entity.*;
import com.alibaba.fastjson.JSONObject;

import java.text.ParseException;
import java.util.Date;
import java.util.List;
import java.util.Map;

public interface EvaluateService {
    Orgmonth getByNameAndYuefen(String orgCode, String month);

    Map<String,Object> getMinAndMaxZhibiao(String month);

    List<Orgmonth> getOrgList(Map<String, String> paramMap);

    List<Orgmonth> getOrgListCollected(Map<String, String> paramMap);

    Orgdaily getWorkLengthByNameAndDate(String wangdian,String date);

    List<String> getAllOrgCode();

    List<String> getAllOrgCodeByYuefen(String yuefen);

    List<String> getCollectedOrgCode(String username);

    double[] addshangquanF(String yuefen);

    void addinc_coef(String wangdian,String yuefen);

    Orgmonth getMaxShangquanf(String yuefen);

    Orgmonth selectAllData();

    List<Double> getMaxAttribute();

    Map<String,Object> getWorkLengthByNameAndDateRange(String wangdian, String dateBgn, String dateEnd);

    Map<String,Object> getYewuliangByNameAndDateRange(String wangdian, String dateBgn, String dateEnd);

    Map<String,Object> getShixiaoByNameAndDateRange(String wangdian, String dateBgn, String dateEnd);

    Map<String,Object> getShengchanlvByNameAndDateRange(String wangdian, String dateBgn, String dateEnd);

    Map<String,Object> getDeliveryCountByNameAndDateRange(String wangdian, String dateBgn, String dateEnd);

    Map<String,Object> getDeliveryCountOfDayByNameAndDateRange(String wangdian, String dateBgn, String dateEnd);

    Map<String,Object> getDeliveryCountRateByNameAndDateRange(String wangdian, String dateBgn, String dateEnd);

    Map<String,Object> getShangquanfByNameAndYuefenRange(String wangdian, String yuefenBgn, String yuefenEnd);


    Weight getByYuefen(String yuefen);

    double getAvgDeliveryOfMonth(String wangdian, String yuefen);

    int getTotalDeliveryCountOfMonth(String wangdian, String yuefen);

    Integer getOrgNum();

    Integer getOrgNumByProv(String provence);

    Integer getEvaluateNum();

    int[] getOrgNumOfType(String yuefen);

    Double getLoadScoreByYuefenAndLoadRankAndType(int loadrank, String yuefen, String type);

    Double getStaffScoreByYuefenAndStaffRankAndType(int staffrank, String yuefen, String type);

    Double getAgeScoreByYuefenAndAgeRankAndType(int agerank, String yuefen, String type);

    Double getLaborScoreByYuefenAndLaborRankAndType(int laborrank, String yuefen, String type);

    Double getDailyScoreByYuefenAndDailyRankAndType(int dailyrank, String yuefen, String type);

    Double getMaxScoreByYuefenAndMaxRankAndType(int maxrank, String yuefen, String type);
}
